package com.mengmablog.blog.service.port;

import com.mengmablog.blog.commons.ServerResponse;

public interface IArticlesService {
    ServerResponse article(Integer page, Integer limit);

    ServerResponse article_id(Integer id,String type);

    ServerResponse archive();

    ServerResponse article_count();

    ServerResponse article(Integer id, String title, String content, String tags, String category, String status, Boolean allowComment);

    ServerResponse delete(String id);

    ServerResponse page(Integer page, Integer limit);

    ServerResponse page_id(String id);

    ServerResponse page_insert(Integer id, String title, String content, String status);

    ServerResponse page_delete(Integer id);
}
